
.card .color-picker {
  display: flex;
  line-height: 1;
  align-items: center;
  padding: 16rpx 0;
  margin-top: 24rpx;
}

.card .color-picker .color-picker-item {
  width: 20rpx;
  height: 20rpx;
  background: var(--color);
  line-height: 1;
}

.card .color-picker .color-picker-item.active {
  margin-left: 32rpx;
}

.card .color-picker .color-picker-text {
  color: var(--color);
  font-size: 24rpx;
  font-weight: 500;
  line-height: 28rpx;
  margin-left: 12rpx;
}

.card {
  background-color: #fff;
  padding: 24rpx;
  border-radius: 16rpx;

  .bottombar {
    margin-top: 16rpx;
    padding-bottom: 12rpx;

    .time-lien {
      width: 100%;
      height: 12rpx;
      display: flex;

      .time-line-item {
        height: 100%;
        flex: 1;
        background: #D9D9D9;
        box-sizing: border-box;
        position: relative;

        &.active {
          background: #C5996A;
        }

        .time-line-value {
          font-size: 14rpx;
          color: #000;
          font-weight: bold;
          line-height: 14rpx;
          position: absolute;
          bottom: 0;
          width: 100%;
          left: 50%;
          text-align: center;
          transform: translate(-50%, calc(100% + 12rpx));
        }
      }
    }
  }

  .top {
    display: flex;
    justify-content: flex-start;

    .right {
      display: flex;
      flex-flow: column;
    }

    .image-wrap {
      width: 210rpx;
      height: 300rpx;
      margin-right: 20rpx;
      position: relative;
      overflow: hidden;
      border-radius: 20rpx;

      .disabled-mask {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        bottom: 50rpx;
        right: 0;
        z-index: 3;
      }

      .footer-status {
        height: 50rpx;
        position: absolute;
        z-index: 3;
        bottom: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;

        &.status-1 {
          background: linear-gradient(180deg, rgba(108, 220, 119, 0.7) 15%, #2BAA38 100%);
        }

        &.status-2 {
          background: linear-gradient(180deg, rgba(239, 161, 109, 0.7) 15%, #ED7B2F 100%);
        }

        &.status-3 {
          background: rgba(0, 0, 0, 0.5);
        }

        &.status-4 {
          background: rgba(0, 0, 0, 0.5);
        }

        &.status-5 {
          background: rgba(0, 0, 0, 0.5);
        }

        .status-text {
          font-size: 22rpx;
          font-weight: bold;
          color: #FFFFFF;
        }
      }

      image {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        left: 0;
        top: 0;
      }
    }

    .right .title {
      font-size: 32rpx;
      font-weight: 500;
      color: #333333;
      display: flex;
      align-items: center;
      line-height: 1;
      padding-top: 8rpx;

      .chevron-right {
        width: 36rpx;
        height: 36rpx;
      }
    }

    .right image {
      width: 40rpx;
    }
  }
}

.card .top .right .tips {
  display: flex;
  flex-flow: row wrap;
  gap: 12rpx 8rpx;
  margin-top: 16rpx;
}

.card .top .right .tip {
  display: inline-block;
  font-size: 22rpx;
  border-radius: 6rpx;
  color: #C5996A;
  padding: 4rpx 8rpx;
  border: 1px solid #C5996A;
}

.card .top .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24rpx;
  margin-top: auto;

  .old-price {
    font-weight: bold;
  }

  .meal-price {
    white-space: nowrap;

    .meal-price-prefix {
      font-size: 24rpx;
      font-weight: bold;
      color: #e81113;
    }

    .meal-price-value {
      font-weight: bold;
      font-size: 32rpx;
      color: #e81113;
    }

    .meal-price-label {
      font-size: 24rpx;
      font-weight: bold;
    }
  }

}

.card .top .bottom .price {
  font-size: 32rpx;
  font-weight: bold;
}

.card .top .bottom .grey {
  color: #a1a1a1;
}

.card .top .bottom .btn {
  width: 136rpx;
  height: 56rpx;
  color: #fff;
  text-align: center;
  line-height: 56rpx;
  background: #C5996A;
  border-radius: 12rpx;
  margin-left: 16rpx;
  font-weight: bold;
  &.disabled{
    background: #c1c1c1;
  }
}

.card .bottombar .bar {
  //height: 12rpx;
  width: 100%;
  display: flex;
  justify-content: start;
  margin-top: 16rpx;
  background-color: #d9d9d9;
}

.card .bottombar .bar1 {
  //height: 12rpx;
  width: 100%;
  display: flex;
  justify-content: start;
}

.card .bottombar .baritem {
  width: 100%;
  flex: 1;
  display: flex;
  height: 12rpx;
  font-size: 12rpx
}

.card .bottombar .baritemon {
  display: flex;
  flex: 1;
  height: 12rpx;
  background-color: #C5996A;
  z-index: 999;
}

.card .bottombar .nums {
  width: 100%;
  display: flex;
  font-size: 12rpx;
  margin-top: 16rpx;
}

.card .bottombar .num {
  display: flex;
  font-size: 12rpx;
  color: #000;
}
